package com.itmeng.gatway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient   //也可以使用@EnableDiscoveryClient，这个注解可以是其他注册中心
public class GatwayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatwayApplication.class, args);
    }
}
